package com.jin.udp;

import com.jin.udp.bean.Client;
import com.jin.udp.utils.UDPUtils;

import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: UDPForwarder
 * @Description:
 * @Author: 12071
 * @Date: 2021/7/6 19:28
 */
public class UDPForwarder {

    public static List<String> stationMacs = Arrays.asList(
            "68B9D3D7BDD3", "68B9D3D7BE1B", "68B9D3D7C2A3", "68B9D3D7CECF", "68B9D3D7C6EB",
            "68B9D3D7D7C3", "68B9D3D7D0F3", "68B9D3D7C33B", "68B9D3D7D093", "68B9D3D7D98F",
            "68B9D3D7DE47", "68B9D3D5986C", "68B9D3D7DBB7", "68B9D3D7CABF", "68B9D3D7B3AF",
            "68B9D3D7B3AB", "68B9D3D7C07B", "68B9D3D7BC83", "68B9D3D7C297", "68B9D3D7D0EF",
            "68B9D3D7C633", "68B9D3D7D0E3", "68B9D3D7C933", "68B9D3D5A1DC", "68B9D3D7BE5B",
            "68B9D3D7C0B7", "68B9D3D7C9AF", "68B9D3D7C34F", "68B9D3D7C9D7", "68B9D3D7C2DB",
            "68B9D3D7D817", "68B9D3D7CACF", "68B9D3D7CB17", "68B9D3D7D807", "68B9D3D7D0E7");
    public static List<String> nodes = Arrays.asList(
            "DB5BC1FEDBBD", "DE8C9AE72232", "D3525AEC28AE",
            "EE1BD699A362", "DB55F1B6AD4D");


    public static void main(String[] args) {

        System.out.println("服务器 开始运行");

        ForwardThread forwardThread = new ForwardThread();
        forwardThread.start();
    }

}
